package com.atguigu.jxc.dao;/*
 *@author 尹凯瑞
 *@date 2020/12/2 19:53
 */

import com.atguigu.jxc.entity.Supplier;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SupplierDao {

    List<Supplier> getSupplierList(Integer offSet, Integer rows, @Param("supplierName") String supplierName);

    Integer getSupplierCount(@Param("supplierName")String supplierName);

    void updateSupplier(Supplier supplier);

    void saveSupplier(Supplier supplier);


    void deleteSupplier(String[] split);
}
